<?php

namespace app\api\validate;

use think\Validate;

class ChangeMobile extends Validate
{
    protected $rule = [
        "old_mobile|原手机号"  => "require|mobile",
        "old_code|原手机号验证码"    => "require",
        "new_mobile|新手机号"  => "require|mobile",
        "new_code|新手机号验证码"    => "require"
    ];
}